home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / cbzone / cbzone.z / cbzone.tar / Imakefile < prev    next >
Makefile  |  1991-01-16  |  1KB  |  62 lines

  1. /*
  2.  * Imakefile for cbzone
  3.  *  Todd Mummert, CMU, January 1991
  4.  */
  5. SRCS =  c_main.c \
  6.         c_move.c \
  7.         c_graphics.c \
  8.         c_scores.c \
  9.         c_gpr.c \
  10.         c_parseopts.c \
  11.         c_draw.c \
  12.         c_explode.c
  13.  
  14. OBJS =  c_main.o \
  15.         c_move.o \
  16.         c_graphics.o \
  17.         c_scores.o \
  18.         c_gpr.o \
  19.         c_parseopts.o \
  20.         c_draw.o \
  21.         c_explode.o
  22.  
  23. HDRS =  c_config.h \
  24.         c_structs.h \
  25.         c_defs.h \
  26.         c_externs.h \
  27.         c_colors.h \
  28.         c_includes.h \
  29.         PatchLevel.h
  30.  
  31. ETCS =  cbzone.help \
  32.         cbzone.motd
  33.  
  34. MISC =  Imakefile \
  35.         Makefile.orig \
  36.         INSTALL \
  37.         ChangeLog \
  38.         bitmaps
  39.  
  40. # in general, these should end in a /
  41. # this is where the binary will go
  42. BINDIR = /usr/mummert/sun4/bin/
  43.  
  44. # this is where the scorefile and helpfile will go
  45. TANKDIR = /afs/cs/user/mummert/lib/games/
  46.  
  47. DEFINES = -DTANKDIR=\"$(TANKDIR)\"
  48.  
  49. LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB) -lm
  50.  
  51. ComplexProgramTarget(cbzone)
  52.  
  53. InstallNonExec(cbzone.help,$(TANKDIR))
  54. InstallNonExec(cbzone.motd,$(TANKDIR))
  55.  
  56. tar: cbzone.tar.Z
  57.  
  58. cbzone.tar.Z:  $(SRCS) $(HDRS) $(ETCS) $(MISC)
  59.     rm -rf cbzone.tar cbzone.tar.Z
  60.     tar -cf cbzone.tar $(SRCS) $(HDRS) $(ETCS) $(MISC)
  61.     compress cbzone.tar
  62.